package com.killer.goods.service.impl;

import com.killer.db.service.impl.BaseServiceImpl;
import com.killer.goods.entity.Spec;
import com.killer.goods.mapper.SpecMapper;
import com.killer.goods.service.ISpecService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 规格表 服务实现类
 * </p>
 *
 * @author killer
 * @since 2021-08-04
 */
@Service
public class SpecServiceImpl extends BaseServiceImpl<SpecMapper, Spec> implements ISpecService {

    @Override
    public List<Spec> findByCategoryName(String categoryName) {
        return baseMapper.findByCategoryName(categoryName);
    }
}
